// 封装搜索页面的API 接口
import request from '@/utils/request'

// todo ================= 热搜列表 =================
export const hotSearchList = (params) =>
  request({
    url: '/search/hot',
    params,
  })

// todo ================= 搜索结果 =================
export const getSearchRes = (params) =>
  request({
    url: '/cloudsearch',
    params
  })
